<?php
/**
 * Created by PhpStorm.
 * User: zhangxilu
 * Date: 2017/12/21
 * Time: 下午11:33
 */

namespace frontend\modules\v1\controllers;


use common\server\BasicDataServer;
use frontend\common\ApiController;

class BasicDataController extends ApiController
{
    public function actionIndex(){
        return $this->success(BasicDataServer::instance()->getSearchData());
    }

    public function actionRentingBase(){
        return $this->success(BasicDataServer::instance()->getRentingSearchData());
    }

    public function actionPcBase(){
        return $this->success(BasicDataServer::instance()->getPcSearchData());
    }
}